package io.renren.modules.sq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sq.dto.CodeListDto;
import io.renren.modules.sq.entity.SqSystemAuthorizationCodeEntity;
import org.json.JSONArray;

import java.util.List;
import java.util.Map;

/**
 * 系统授权码表
 *
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2022-05-14 19:29:39
 */
public interface SqSystemAuthorizationCodeService extends IService<SqSystemAuthorizationCodeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CodeListDto> getadmincodelist(String systemEditionId, String username);

    List<CodeListDto> getadmincodelistbyuid(Long userId,String systemEditionId,String username);

    int getadmincodelistsnum();

    int getadmincodelistbyuidnum(Long userId);
}

